package com.hoshiicloud.saleorder.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 活动流水
* </p>
*
* @author zhangshuhu
* @since 2019-06-03
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ActivitiesListVO对象", description="活动流水")
public class ActivitiesListDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
    * 子订单ID
    */
    @ApiModelProperty(value = "子订单ID")
    private Long subId;
    /**
    * 活动ID
    */
    @ApiModelProperty(value = "活动ID")
    private String activityId;
    /**
    * 1-积分  2-金币 3-商品
    */
    @ApiModelProperty(value = "1-积分  2-金币 3-商品")
    private Integer reward;
    /**
    * 数量
    */
    @ApiModelProperty(value = "数量")
    private Long quantity;
    /**
    * spu
    */
    @ApiModelProperty(value = "spu")
    private BigDecimal spuId;
    /**
    * sku
    */
    @ApiModelProperty(value = "sku")
    private BigDecimal skuId;
    /**
    * 0-未付款 1-已付款
    */
    @ApiModelProperty(value = "0-未付款 1-已付款")
    private Integer status;
    /**
    * 关联单号（销售主单/退款单号
    */
    @ApiModelProperty(value = "关联单号（销售主单/退款单号")
    private String refno;
    /**
    * 提交时间
    */
    @ApiModelProperty(value = "提交时间")
    private LocalDateTime createdtime;
    /**
    * 制单人
    */
    @ApiModelProperty(value = "制单人")
    private String createdby;
    /**
    * 更新时间
    */
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedtime;
    /**
    * 更新人
    */
    @ApiModelProperty(value = "更新人")
    private String updatedby;
}
